package com.sjn.util.encrytion;


public class encryForblueprint {
    public String getdata(String data) {
        DataEncryption dataEncryption = new ShiftEncryption();
        dataEncryption.setData(data);
        //第一次加密
       dataEncryption.encryption();
        //进行第二次倒序加密
        AddEncryption addEncryption = new ReverseEncryption(dataEncryption);
        //进行第三次求模加密
        AddEncryption addEncryption1 = new ModuloEncryption(addEncryption.getDataEncryption());
        //输出
        return addEncryption1.encryption();

    }
}
